# 王磊的作业
luo = ['罗恩', 23, 35, 44]
ha = ['哈利', 60, 77, 68, 88, 90]
he = ['赫敏', 97, 99, 89, 91, 95, 90]
ma = ['马尔福', 100, 85, 90]
mo = [luo, ha, he, ma]
for i in mo:
    sum = 0
    for j in i:
        if type(j) != int:
            continue
        else:
            sum += j
    avg = sum / (len(i) - 1)
    print(i[0], '的平均成绩为：', avg)
